using Google.ProtocolBuffers;
using micromsg.Proto;
using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
namespace micromsg
{
	[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
	public sealed class UploadMsgImgRequest : GeneratedMessageLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>
	{
		[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
		public sealed class Builder : GeneratedBuilderLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>
		{
			private bool resultIsReadOnly;
			private UploadMsgImgRequest result;
			protected override UploadMsgImgRequest.Builder ThisBuilder
			{
				get
				{
					return this;
				}
			}
			public override bool IsInitialized
			{
				get
				{
					return this.result.IsInitialized;
				}
			}
			protected override UploadMsgImgRequest MessageBeingBuilt
			{
				get
				{
					return this.PrepareBuilder();
				}
			}
			public override UploadMsgImgRequest DefaultInstanceForType
			{
				get
				{
					return UploadMsgImgRequest.DefaultInstance;
				}
			}
			public BaseRequest BaseRequest
			{
				get
				{
					return this.result.BaseRequest;
				}
				set
				{
					this.SetBaseRequest(value);
				}
			}
			public SKBuiltinString_t ClientImgId
			{
				get
				{
					return this.result.ClientImgId;
				}
				set
				{
					this.SetClientImgId(value);
				}
			}
			public SKBuiltinString_t FromUserName
			{
				get
				{
					return this.result.FromUserName;
				}
				set
				{
					this.SetFromUserName(value);
				}
			}
			public SKBuiltinString_t ToUserName
			{
				get
				{
					return this.result.ToUserName;
				}
				set
				{
					this.SetToUserName(value);
				}
			}
			public uint TotalLen
			{
				get
				{
					return this.result.TotalLen;
				}
				set
				{
					this.SetTotalLen(value);
				}
			}
			public uint StartPos
			{
				get
				{
					return this.result.StartPos;
				}
				set
				{
					this.SetStartPos(value);
				}
			}
			public uint DataLen
			{
				get
				{
					return this.result.DataLen;
				}
				set
				{
					this.SetDataLen(value);
				}
			}
			public SKBuiltinBuffer_t Data
			{
				get
				{
					return this.result.Data;
				}
				set
				{
					this.SetData(value);
				}
			}
			public uint MsgType
			{
				get
				{
					return this.result.MsgType;
				}
				set
				{
					this.SetMsgType(value);
				}
			}
			public string MsgSource
			{
				get
				{
					return this.result.MsgSource;
				}
				set
				{
					this.SetMsgSource(value);
				}
			}
			public uint CompressType
			{
				get
				{
					return this.result.CompressType;
				}
				set
				{
					this.SetCompressType(value);
				}
			}
			public Builder()
			{
				this.result = UploadMsgImgRequest.DefaultInstance;
				this.resultIsReadOnly = true;
			}
			internal Builder(UploadMsgImgRequest cloneFrom)
			{
				this.result = cloneFrom;
				this.resultIsReadOnly = true;
			}
			private UploadMsgImgRequest PrepareBuilder()
			{
				if (this.resultIsReadOnly)
				{
					UploadMsgImgRequest other = this.result;
					this.result = new UploadMsgImgRequest();
					this.resultIsReadOnly = false;
					this.MergeFrom(other);
				}
				return this.result;
			}
			public override UploadMsgImgRequest.Builder Clear()
			{
				this.result = UploadMsgImgRequest.DefaultInstance;
				this.resultIsReadOnly = true;
				return this;
			}
			public override UploadMsgImgRequest.Builder Clone()
			{
				if (this.resultIsReadOnly)
				{
					return new UploadMsgImgRequest.Builder(this.result);
				}
				return new UploadMsgImgRequest.Builder().MergeFrom(this.result);
			}
			public override UploadMsgImgRequest BuildPartial()
			{
				if (this.resultIsReadOnly)
				{
					return this.result;
				}
				this.resultIsReadOnly = true;
				return this.result.MakeReadOnly();
			}
			public override UploadMsgImgRequest.Builder MergeFrom(IMessageLite other)
			{
				if (other is UploadMsgImgRequest)
				{
					return this.MergeFrom((UploadMsgImgRequest)other);
				}
				base.MergeFrom(other);
				return this;
			}
			public override UploadMsgImgRequest.Builder MergeFrom(UploadMsgImgRequest other)
			{
				return this;
			}
			public override UploadMsgImgRequest.Builder MergeFrom(ICodedInputStream input)
			{
				return this.MergeFrom(input, ExtensionRegistry.Empty);
			}
			public override UploadMsgImgRequest.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
			{
				this.PrepareBuilder();
				uint num;
				string text;
				while (input.ReadTag(out num, out text))
				{
					if (num == 0u && text != null)
					{
						int num2 = Array.BinarySearch<string>(UploadMsgImgRequest._uploadMsgImgRequestFieldNames, text, StringComparer.get_Ordinal());
						if (num2 < 0)
						{
							this.ParseUnknownField(input, extensionRegistry, num, text);
							continue;
						}
						num = UploadMsgImgRequest._uploadMsgImgRequestFieldTags[num2];
					}
					uint num3 = num;
					if (num3 <= 40u)
					{
						if (num3 <= 18u)
						{
							if (num3 == 0u)
							{
								throw InvalidProtocolBufferException.InvalidTag();
							}
							if (num3 == 10u)
							{
								BaseRequest.Builder builder = BaseRequest.CreateBuilder();
								if (this.result.hasBaseRequest)
								{
									builder.MergeFrom(this.BaseRequest);
								}
								input.ReadMessage(builder, extensionRegistry);
								this.BaseRequest = builder.BuildPartial();
								continue;
							}
							if (num3 == 18u)
							{
								SKBuiltinString_t.Builder builder2 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasClientImgId)
								{
									builder2.MergeFrom(this.ClientImgId);
								}
								input.ReadMessage(builder2, extensionRegistry);
								this.ClientImgId = builder2.BuildPartial();
								continue;
							}
						}
						else
						{
							if (num3 == 26u)
							{
								SKBuiltinString_t.Builder builder3 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasFromUserName)
								{
									builder3.MergeFrom(this.FromUserName);
								}
								input.ReadMessage(builder3, extensionRegistry);
								this.FromUserName = builder3.BuildPartial();
								continue;
							}
							if (num3 == 34u)
							{
								SKBuiltinString_t.Builder builder4 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasToUserName)
								{
									builder4.MergeFrom(this.ToUserName);
								}
								input.ReadMessage(builder4, extensionRegistry);
								this.ToUserName = builder4.BuildPartial();
								continue;
							}
							if (num3 == 40u)
							{
								this.result.hasTotalLen = input.ReadUInt32(ref this.result.totalLen_);
								continue;
							}
						}
					}
					else
					{
						if (num3 <= 66u)
						{
							if (num3 == 48u)
							{
								this.result.hasStartPos = input.ReadUInt32(ref this.result.startPos_);
								continue;
							}
							if (num3 == 56u)
							{
								this.result.hasDataLen = input.ReadUInt32(ref this.result.dataLen_);
								continue;
							}
							if (num3 == 66u)
							{
								SKBuiltinBuffer_t.Builder builder5 = SKBuiltinBuffer_t.CreateBuilder();
								if (this.result.hasData)
								{
									builder5.MergeFrom(this.Data);
								}
								input.ReadMessage(builder5, extensionRegistry);
								this.Data = builder5.BuildPartial();
								continue;
							}
						}
						else
						{
							if (num3 == 72u)
							{
								this.result.hasMsgType = input.ReadUInt32(ref this.result.msgType_);
								continue;
							}
							if (num3 == 82u)
							{
								this.result.hasMsgSource = input.ReadString(ref this.result.msgSource_);
								continue;
							}
							if (num3 == 88u)
							{
								this.result.hasCompressType = input.ReadUInt32(ref this.result.compressType_);
								continue;
							}
						}
					}
					if (WireFormat.IsEndGroupTag(num))
					{
						return this;
					}
					this.ParseUnknownField(input, extensionRegistry, num, text);
				}
				return this;
			}
			public UploadMsgImgRequest.Builder SetBaseRequest(BaseRequest value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasBaseRequest = true;
				this.result.baseRequest_ = value;
				return this;
			}
			public UploadMsgImgRequest.Builder SetBaseRequest(BaseRequest.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasBaseRequest = true;
				this.result.baseRequest_ = builderForValue.Build();
				return this;
			}
			public UploadMsgImgRequest.Builder MergeBaseRequest(BaseRequest value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasBaseRequest && this.result.baseRequest_ != BaseRequest.DefaultInstance)
				{
					this.result.baseRequest_ = BaseRequest.CreateBuilder(this.result.baseRequest_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.baseRequest_ = value;
				}
				this.result.hasBaseRequest = true;
				return this;
			}
			public UploadMsgImgRequest.Builder ClearBaseRequest()
			{
				this.PrepareBuilder();
				this.result.hasBaseRequest = false;
				this.result.baseRequest_ = null;
				return this;
			}
			public UploadMsgImgRequest.Builder SetClientImgId(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasClientImgId = true;
				this.result.clientImgId_ = value;
				return this;
			}
			public UploadMsgImgRequest.Builder SetClientImgId(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasClientImgId = true;
				this.result.clientImgId_ = builderForValue.Build();
				return this;
			}
			public UploadMsgImgRequest.Builder MergeClientImgId(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasClientImgId && this.result.clientImgId_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.clientImgId_ = SKBuiltinString_t.CreateBuilder(this.result.clientImgId_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.clientImgId_ = value;
				}
				this.result.hasClientImgId = true;
				return this;
			}
			public UploadMsgImgRequest.Builder ClearClientImgId()
			{
				this.PrepareBuilder();
				this.result.hasClientImgId = false;
				this.result.clientImgId_ = null;
				return this;
			}
			public UploadMsgImgRequest.Builder SetFromUserName(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasFromUserName = true;
				this.result.fromUserName_ = value;
				return this;
			}
			public UploadMsgImgRequest.Builder SetFromUserName(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasFromUserName = true;
				this.result.fromUserName_ = builderForValue.Build();
				return this;
			}
			public UploadMsgImgRequest.Builder MergeFromUserName(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasFromUserName && this.result.fromUserName_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.fromUserName_ = SKBuiltinString_t.CreateBuilder(this.result.fromUserName_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.fromUserName_ = value;
				}
				this.result.hasFromUserName = true;
				return this;
			}
			public UploadMsgImgRequest.Builder ClearFromUserName()
			{
				this.PrepareBuilder();
				this.result.hasFromUserName = false;
				this.result.fromUserName_ = null;
				return this;
			}
			public UploadMsgImgRequest.Builder SetToUserName(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasToUserName = true;
				this.result.toUserName_ = value;
				return this;
			}
			public UploadMsgImgRequest.Builder SetToUserName(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasToUserName = true;
				this.result.toUserName_ = builderForValue.Build();
				return this;
			}
			public UploadMsgImgRequest.Builder MergeToUserName(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasToUserName && this.result.toUserName_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.toUserName_ = SKBuiltinString_t.CreateBuilder(this.result.toUserName_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.toUserName_ = value;
				}
				this.result.hasToUserName = true;
				return this;
			}
			public UploadMsgImgRequest.Builder ClearToUserName()
			{
				this.PrepareBuilder();
				this.result.hasToUserName = false;
				this.result.toUserName_ = null;
				return this;
			}
			public UploadMsgImgRequest.Builder SetTotalLen(uint value)
			{
				this.PrepareBuilder();
				this.result.hasTotalLen = true;
				this.result.totalLen_ = value;
				return this;
			}
			public UploadMsgImgRequest.Builder ClearTotalLen()
			{
				this.PrepareBuilder();
				this.result.hasTotalLen = false;
				this.result.totalLen_ = 0u;
				return this;
			}
			public UploadMsgImgRequest.Builder SetStartPos(uint value)
			{
				this.PrepareBuilder();
				this.result.hasStartPos = true;
				this.result.startPos_ = value;
				return this;
			}
			public UploadMsgImgRequest.Builder ClearStartPos()
			{
				this.PrepareBuilder();
				this.result.hasStartPos = false;
				this.result.startPos_ = 0u;
				return this;
			}
			public UploadMsgImgRequest.Builder SetDataLen(uint value)
			{
				this.PrepareBuilder();
				this.result.hasDataLen = true;
				this.result.dataLen_ = value;
				return this;
			}
			public UploadMsgImgRequest.Builder ClearDataLen()
			{
				this.PrepareBuilder();
				this.result.hasDataLen = false;
				this.result.dataLen_ = 0u;
				return this;
			}
			public UploadMsgImgRequest.Builder SetData(SKBuiltinBuffer_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasData = true;
				this.result.data_ = value;
				return this;
			}
			public UploadMsgImgRequest.Builder SetData(SKBuiltinBuffer_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasData = true;
				this.result.data_ = builderForValue.Build();
				return this;
			}
			public UploadMsgImgRequest.Builder MergeData(SKBuiltinBuffer_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasData && this.result.data_ != SKBuiltinBuffer_t.DefaultInstance)
				{
					this.result.data_ = SKBuiltinBuffer_t.CreateBuilder(this.result.data_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.data_ = value;
				}
				this.result.hasData = true;
				return this;
			}
			public UploadMsgImgRequest.Builder ClearData()
			{
				this.PrepareBuilder();
				this.result.hasData = false;
				this.result.data_ = null;
				return this;
			}
			public UploadMsgImgRequest.Builder SetMsgType(uint value)
			{
				this.PrepareBuilder();
				this.result.hasMsgType = true;
				this.result.msgType_ = value;
				return this;
			}
			public UploadMsgImgRequest.Builder ClearMsgType()
			{
				this.PrepareBuilder();
				this.result.hasMsgType = false;
				this.result.msgType_ = 0u;
				return this;
			}
			public UploadMsgImgRequest.Builder SetMsgSource(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasMsgSource = true;
				this.result.msgSource_ = value;
				return this;
			}
			public UploadMsgImgRequest.Builder ClearMsgSource()
			{
				this.PrepareBuilder();
				this.result.hasMsgSource = false;
				this.result.msgSource_ = "";
				return this;
			}
			public UploadMsgImgRequest.Builder SetCompressType(uint value)
			{
				this.PrepareBuilder();
				this.result.hasCompressType = true;
				this.result.compressType_ = value;
				return this;
			}
			public UploadMsgImgRequest.Builder ClearCompressType()
			{
				this.PrepareBuilder();
				this.result.hasCompressType = false;
				this.result.compressType_ = 0u;
				return this;
			}
		}
		public const int BaseRequestFieldNumber = 1;
		public const int ClientImgIdFieldNumber = 2;
		public const int FromUserNameFieldNumber = 3;
		public const int ToUserNameFieldNumber = 4;
		public const int TotalLenFieldNumber = 5;
		public const int StartPosFieldNumber = 6;
		public const int DataLenFieldNumber = 7;
		public const int DataFieldNumber = 8;
		public const int MsgTypeFieldNumber = 9;
		public const int MsgSourceFieldNumber = 10;
		public const int CompressTypeFieldNumber = 11;
		private static readonly UploadMsgImgRequest defaultInstance;
		private static readonly string[] _uploadMsgImgRequestFieldNames;
		private static readonly uint[] _uploadMsgImgRequestFieldTags;
		private bool hasBaseRequest;
		private BaseRequest baseRequest_;
		private bool hasClientImgId;
		private SKBuiltinString_t clientImgId_;
		private bool hasFromUserName;
		private SKBuiltinString_t fromUserName_;
		private bool hasToUserName;
		private SKBuiltinString_t toUserName_;
		private bool hasTotalLen;
		private uint totalLen_;
		private bool hasStartPos;
		private uint startPos_;
		private bool hasDataLen;
		private uint dataLen_;
		private bool hasData;
		private SKBuiltinBuffer_t data_;
		private bool hasMsgType;
		private uint msgType_;
		private bool hasMsgSource;
		private string msgSource_ = "";
		private bool hasCompressType;
		private uint compressType_;
		private int memoizedSerializedSize = -1;
		public static UploadMsgImgRequest DefaultInstance
		{
			get
			{
				return UploadMsgImgRequest.defaultInstance;
			}
		}
		public override UploadMsgImgRequest DefaultInstanceForType
		{
			get
			{
				return UploadMsgImgRequest.DefaultInstance;
			}
		}
		protected override UploadMsgImgRequest ThisMessage
		{
			get
			{
				return this;
			}
		}
		public BaseRequest BaseRequest
		{
			get
			{
				return this.baseRequest_ ?? BaseRequest.DefaultInstance;
			}
		}
		public SKBuiltinString_t ClientImgId
		{
			get
			{
				return this.clientImgId_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public SKBuiltinString_t FromUserName
		{
			get
			{
				return this.fromUserName_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public SKBuiltinString_t ToUserName
		{
			get
			{
				return this.toUserName_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public uint TotalLen
		{
			get
			{
				return this.totalLen_;
			}
		}
		public uint StartPos
		{
			get
			{
				return this.startPos_;
			}
		}
		public uint DataLen
		{
			get
			{
				return this.dataLen_;
			}
		}
		public SKBuiltinBuffer_t Data
		{
			get
			{
				return this.data_ ?? SKBuiltinBuffer_t.DefaultInstance;
			}
		}
		public uint MsgType
		{
			get
			{
				return this.msgType_;
			}
		}
		public string MsgSource
		{
			get
			{
				return this.msgSource_;
			}
		}
		public uint CompressType
		{
			get
			{
				return this.compressType_;
			}
		}
		public override bool IsInitialized
		{
			get
			{
				return this.hasBaseRequest && this.hasClientImgId && this.hasFromUserName && this.hasToUserName && this.hasTotalLen && this.hasStartPos && this.hasDataLen && this.hasData && this.BaseRequest.IsInitialized && this.Data.IsInitialized;
			}
		}
		public override int SerializedSize
		{
			get
			{
				int num = this.memoizedSerializedSize;
				if (num != -1)
				{
					return num;
				}
				num = 0;
				if (this.hasBaseRequest)
				{
					num += CodedOutputStream.ComputeMessageSize(1, this.BaseRequest);
				}
				if (this.hasClientImgId)
				{
					num += CodedOutputStream.ComputeMessageSize(2, this.ClientImgId);
				}
				if (this.hasFromUserName)
				{
					num += CodedOutputStream.ComputeMessageSize(3, this.FromUserName);
				}
				if (this.hasToUserName)
				{
					num += CodedOutputStream.ComputeMessageSize(4, this.ToUserName);
				}
				if (this.hasTotalLen)
				{
					num += CodedOutputStream.ComputeUInt32Size(5, this.TotalLen);
				}
				if (this.hasStartPos)
				{
					num += CodedOutputStream.ComputeUInt32Size(6, this.StartPos);
				}
				if (this.hasDataLen)
				{
					num += CodedOutputStream.ComputeUInt32Size(7, this.DataLen);
				}
				if (this.hasData)
				{
					num += CodedOutputStream.ComputeMessageSize(8, this.Data);
				}
				if (this.hasMsgType)
				{
					num += CodedOutputStream.ComputeUInt32Size(9, this.MsgType);
				}
				if (this.hasMsgSource)
				{
					num += CodedOutputStream.ComputeStringSize(10, this.MsgSource);
				}
				if (this.hasCompressType)
				{
					num += CodedOutputStream.ComputeUInt32Size(11, this.CompressType);
				}
				this.memoizedSerializedSize = num;
				return num;
			}
		}
		private UploadMsgImgRequest()
		{
		}
		public override void WriteTo(ICodedOutputStream output)
		{
			int arg_06_0 = this.SerializedSize;
			string[] uploadMsgImgRequestFieldNames = UploadMsgImgRequest._uploadMsgImgRequestFieldNames;
			if (this.hasBaseRequest)
			{
				output.WriteMessage(1, uploadMsgImgRequestFieldNames[0], this.BaseRequest);
			}
			if (this.hasClientImgId)
			{
				output.WriteMessage(2, uploadMsgImgRequestFieldNames[1], this.ClientImgId);
			}
			if (this.hasFromUserName)
			{
				output.WriteMessage(3, uploadMsgImgRequestFieldNames[5], this.FromUserName);
			}
			if (this.hasToUserName)
			{
				output.WriteMessage(4, uploadMsgImgRequestFieldNames[9], this.ToUserName);
			}
			if (this.hasTotalLen)
			{
				output.WriteUInt32(5, uploadMsgImgRequestFieldNames[10], this.TotalLen);
			}
			if (this.hasStartPos)
			{
				output.WriteUInt32(6, uploadMsgImgRequestFieldNames[8], this.StartPos);
			}
			if (this.hasDataLen)
			{
				output.WriteUInt32(7, uploadMsgImgRequestFieldNames[4], this.DataLen);
			}
			if (this.hasData)
			{
				output.WriteMessage(8, uploadMsgImgRequestFieldNames[3], this.Data);
			}
			if (this.hasMsgType)
			{
				output.WriteUInt32(9, uploadMsgImgRequestFieldNames[7], this.MsgType);
			}
			if (this.hasMsgSource)
			{
				output.WriteString(10, uploadMsgImgRequestFieldNames[6], this.MsgSource);
			}
			if (this.hasCompressType)
			{
				output.WriteUInt32(11, uploadMsgImgRequestFieldNames[2], this.CompressType);
			}
		}
		public override int GetHashCode()
		{
			int num = base.GetType().GetHashCode();
			if (this.hasBaseRequest)
			{
				num ^= this.baseRequest_.GetHashCode();
			}
			if (this.hasClientImgId)
			{
				num ^= this.clientImgId_.GetHashCode();
			}
			if (this.hasFromUserName)
			{
				num ^= this.fromUserName_.GetHashCode();
			}
			if (this.hasToUserName)
			{
				num ^= this.toUserName_.GetHashCode();
			}
			if (this.hasTotalLen)
			{
				num ^= this.totalLen_.GetHashCode();
			}
			if (this.hasStartPos)
			{
				num ^= this.startPos_.GetHashCode();
			}
			if (this.hasDataLen)
			{
				num ^= this.dataLen_.GetHashCode();
			}
			if (this.hasData)
			{
				num ^= this.data_.GetHashCode();
			}
			if (this.hasMsgType)
			{
				num ^= this.msgType_.GetHashCode();
			}
			if (this.hasMsgSource)
			{
				num ^= this.msgSource_.GetHashCode();
			}
			if (this.hasCompressType)
			{
				num ^= this.compressType_.GetHashCode();
			}
			return num;
		}
		public override bool Equals(object object_0)
		{
			UploadMsgImgRequest uploadMsgImgRequest = object_0 as UploadMsgImgRequest;
			return uploadMsgImgRequest != null && (this.hasBaseRequest == uploadMsgImgRequest.hasBaseRequest && (!this.hasBaseRequest || this.baseRequest_.Equals(uploadMsgImgRequest.baseRequest_))) && (this.hasClientImgId == uploadMsgImgRequest.hasClientImgId && (!this.hasClientImgId || this.clientImgId_.Equals(uploadMsgImgRequest.clientImgId_))) && (this.hasFromUserName == uploadMsgImgRequest.hasFromUserName && (!this.hasFromUserName || this.fromUserName_.Equals(uploadMsgImgRequest.fromUserName_))) && (this.hasToUserName == uploadMsgImgRequest.hasToUserName && (!this.hasToUserName || this.toUserName_.Equals(uploadMsgImgRequest.toUserName_))) && (this.hasTotalLen == uploadMsgImgRequest.hasTotalLen && (!this.hasTotalLen || this.totalLen_.Equals(uploadMsgImgRequest.totalLen_))) && (this.hasStartPos == uploadMsgImgRequest.hasStartPos && (!this.hasStartPos || this.startPos_.Equals(uploadMsgImgRequest.startPos_))) && (this.hasDataLen == uploadMsgImgRequest.hasDataLen && (!this.hasDataLen || this.dataLen_.Equals(uploadMsgImgRequest.dataLen_))) && (this.hasData == uploadMsgImgRequest.hasData && (!this.hasData || this.data_.Equals(uploadMsgImgRequest.data_))) && (this.hasMsgType == uploadMsgImgRequest.hasMsgType && (!this.hasMsgType || this.msgType_.Equals(uploadMsgImgRequest.msgType_))) && (this.hasMsgSource == uploadMsgImgRequest.hasMsgSource && (!this.hasMsgSource || this.msgSource_.Equals(uploadMsgImgRequest.msgSource_))) && (this.hasCompressType == uploadMsgImgRequest.hasCompressType && (!this.hasCompressType || this.compressType_.Equals(uploadMsgImgRequest.compressType_)));
		}
		public override void PrintTo(TextWriter writer)
		{
			GeneratedMessageLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>.PrintField("BaseRequest", this.hasBaseRequest, this.baseRequest_, writer);
			GeneratedMessageLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>.PrintField("ClientImgId", this.hasClientImgId, this.clientImgId_, writer);
			GeneratedMessageLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>.PrintField("FromUserName", this.hasFromUserName, this.fromUserName_, writer);
			GeneratedMessageLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>.PrintField("ToUserName", this.hasToUserName, this.toUserName_, writer);
			GeneratedMessageLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>.PrintField("TotalLen", this.hasTotalLen, this.totalLen_, writer);
			GeneratedMessageLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>.PrintField("StartPos", this.hasStartPos, this.startPos_, writer);
			GeneratedMessageLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>.PrintField("DataLen", this.hasDataLen, this.dataLen_, writer);
			GeneratedMessageLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>.PrintField("Data", this.hasData, this.data_, writer);
			GeneratedMessageLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>.PrintField("MsgType", this.hasMsgType, this.msgType_, writer);
			GeneratedMessageLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>.PrintField("MsgSource", this.hasMsgSource, this.msgSource_, writer);
			GeneratedMessageLite<UploadMsgImgRequest, UploadMsgImgRequest.Builder>.PrintField("CompressType", this.hasCompressType, this.compressType_, writer);
		}
		public static UploadMsgImgRequest ParseFrom(byte[] data)
		{
			return UploadMsgImgRequest.CreateBuilder().MergeFrom(data).BuildParsed();
		}
		private UploadMsgImgRequest MakeReadOnly()
		{
			return this;
		}
		public static UploadMsgImgRequest.Builder CreateBuilder()
		{
			return new UploadMsgImgRequest.Builder();
		}
		public override UploadMsgImgRequest.Builder ToBuilder()
		{
			return UploadMsgImgRequest.CreateBuilder(this);
		}
		public override UploadMsgImgRequest.Builder CreateBuilderForType()
		{
			return new UploadMsgImgRequest.Builder();
		}
		public static UploadMsgImgRequest.Builder CreateBuilder(UploadMsgImgRequest prototype)
		{
			return new UploadMsgImgRequest.Builder(prototype);
		}
		static UploadMsgImgRequest()
		{
			UploadMsgImgRequest.defaultInstance = new UploadMsgImgRequest().MakeReadOnly();
			UploadMsgImgRequest._uploadMsgImgRequestFieldNames = new string[]
			{
				"BaseRequest",
				"ClientImgId",
				"CompressType",
				"Data",
				"DataLen",
				"FromUserName",
				"MsgSource",
				"MsgType",
				"StartPos",
				"ToUserName",
				"TotalLen"
			};
			UploadMsgImgRequest._uploadMsgImgRequestFieldTags = new uint[]
			{
				10u,
				18u,
				88u,
				66u,
				56u,
				26u,
				82u,
				72u,
				48u,
				34u,
				40u
			};
			object.ReferenceEquals(micromsg.Proto.UploadMsgImgRequest.Descriptor, null);
		}
	}
}
